package com.example.testhiber.initPackage.business.utils;

public class StringKit {

    public StringKit() {
    }

    public static Boolean isEmpty(Object argObject) {
        Boolean tbool = false;
        String tString = toString(argObject);
        if (tString.equals("")) {
            tbool = true;
        }

        return tbool;
    }

    public static String toString(Object argObject) {
        String tmpstr = "";
        try {
            if (argObject != null) {
                tmpstr = argObject.toString();
                if( "null".equals(tmpstr) || "underfind".equals(tmpstr) || "undefined".equals(tmpstr)|| "[]".equals(tmpstr)  ){
                    tmpstr="";
                }
            }
        } catch (Exception var3) {
        }

        return tmpstr;
    }

    public static String stringReplace(String str) {
        str= str.replace("\"", "");
        return str ;
    }

}
